#include "CGetRankListInfo.h"
#include "../share/user_define.h"

//-------------------------------------------------------------------------------
CGetRankListInfo::CGetRankListInfo(uint32_t uid, uint32_t pn)
	: BaseMessage(uid, pn)
{
	_safe_guard_begin;
	_safe_guard_end;
}

//-------------------------------------------------------------------------------
CGetRankListInfo::~CGetRankListInfo()
{

}

//-------------------------------------------------------------------------------
void CGetRankListInfo::SetRankListInfo(uint32_t typeId, Json::Value& jv, uint32_t playerRanking)
{
	_safe_guard_begin;

	m_jv["rInfo"] = jv;

	m_jv["typeid"] = typeId;

	m_jv["ret"] = 0;

	m_jv["myRank"] = playerRanking;

	_safe_guard_end;
}
